<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%> 
<%@taglib prefix="sx" uri="/struts-dojo-tags"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>datetimepicker标签示例</title>

<s:head theme="xhtml"/>
<sx:head parseContent="true"/>


</head>
<body>
	<s:form theme="simple">
	  您输入的日期是：
	  <sx:datetimepicker name="date" toggleType="explode" value="today" type="date" language="zh_CN" displayFormat="yyyy-MM-dd" endDate="20201231"/>
	</s:form>
</body>
</html>